﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;

namespace NFramework.EntitySpecification
{
    public interface ISpecification
    {
        System.Type AssociatedType { get; }
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter")]
        T GetProvider<T>() where T : class, ISpecificationProvider, new();
    }
}
